<div class="users form">
<?php echo $this->Form->create('User', array('url' => "/users/password_reset/$hash"));?>
    <fieldset>
         <legend><?php __('Recover Password'); ?></legend>
    <?php
        echo $this->Form->hidden('id');
        echo $this->Form->hidden('username');
        echo $this->Form->input('password');
        echo $this->Form->input('password_confirm', array('div' => 'input text required', 'type' => 'password'));
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>